package com.jiuzhou.crawlers.taobao.util;

import java.util.List;

public class UrlMakerUtil {
    public static String JdPriceUrlMaker(List<String> ids){
        StringBuffer sb = new StringBuffer();
        for (String id : ids) {
            sb.append("J_"+id+",");
        }
        String substring = sb.substring(0, sb.length()-1);
        return "http://p.3.cn/prices/mgets?skuIds="+substring+"&callback=result";
    }
}
